{css style/quanly-canbo.css}
{css style/paginator.css}
<div class="content-wrap">
    <h2>Danh sách Khoa</h2>

    <div id="khoa-list">
        <table class="table table-bordered table-striped">
            <thead>
            <tr>
                <th>STT</th>
                <th>Mã Khoa</th>
                <th>Tên Khoa</th>
                {if admin}
                <th>Cập nhật</th>
                {/if admin}
            </tr>
            </thead>
            <tbody class="main-data">
            {loop k_list}
            <tr id="tr-{$k_id}">
                <td>{$C_COUNTER}</td>
                <td><a class="function" href="khoa/sua/{$k_id}">{$k_id}</a></td>
                <td>{$k_ten}</td>
                {if admin}
                <td class="functions">
                    <a href="khoa/sua/{$k_id}" class="edit" title="Sửa thông tin khoa {$k_ten}"><span>Sửa</span></a>
                    <a href="khoa/xoa/{$k_id}" class="delete" title="Xóa khoa {$k_ten}"><span>Xóa</span></a>
                </td>
                {/if admin}
            </tr>
            {/loop k_list}
            </tbody>
        </table>

        <div id="quanly-canbo-footer">
            {if admin}
            <div class="bottom-command">
                <a href="khoa/them" class="add">Thêm khoa</a>
            </div>
            {/if admin}
        </div>
    </div>
</div>